package com.battery.dao;

import com.battery.pojo.PowerBank;
import com.battery.pojo.Rule;

import java.util.List;

public interface RuleDao {
    public int addByRule_Id(Rule rule);
    public int deleteByRule_Id(int rule_id);
    public int updateRule(Rule rule);
    public Rule findByRule_Id(int rule_id);
    public List<PowerBank> findAllRule();

}
